<template>
    <div style="width:100%;height: 100%">
      <!--学生端-->
      <template v-if="$store.getters.permissions ==='1'">
        <student-attendance-manage></student-attendance-manage>
      </template>
      <template v-if="$store.getters.permissions ==='2'">
        <teacher-attendance-manage></teacher-attendance-manage>
      </template>
      <template v-if="$store.getters.permissions ==='0'">
        <admin-attendance-manage></admin-attendance-manage>
      </template>

    </div>
</template>
<script>
  import TeacherAttendanceManage from "./TeacherAttendanceManage";
  import StartCamera from './StartCamera'
  import StudentAttendanceManage from './StudentAttendanceManage'
  import AdminAttendanceManage from './AdminAttendanceManage'
  export default {
    name: 'index',
    components:{TeacherAttendanceManage,StartCamera,StudentAttendanceManage,AdminAttendanceManage}
  }
</script>

<style scoped>

</style>
